package net.tatu.service;

import java.util.List;

import net.tatu.base.Page;
import net.tatu.model.Model;
import net.tatu.model.ModelLevel;
import net.tatu.model.User;



public interface ModelService {
	
	public boolean addModel(Model model);
	
	public Model get(Model model);

	public boolean updateModel(Model model);

	public Page getModel(String level, String target, String typeName, int pageSize, int sIndex);

	public List<ModelLevel> getModelLevel();

	public boolean modelGood(String modelId, User user, String msg);

	public boolean modelCollect(String modelId, User user, String msg);

	public boolean download(String modelId, User user);

	public Model getModelById(String modelId);

	public List<Model> getSameTargetModelById(String modelId);

	public ModelLevel getModelLevelById(String modelId);
	
}

